home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.save / 000079_fdc@panix.com_Thu Feb 22 13:25:20 2007.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: reader2.panix.com!panix!not-for-mail
  2. From: Frank Da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: SSL Solaris 9 compile errors
  5. Date: Thu, 22 Feb 2007 18:25:12 +0000 (UTC)
  6. Organization: PANIX Public Access Internet and UNIX, NYC
  7. Lines: 51
  8. Message-ID: <slrnetro08.nif.fdc@panix3.panix.com>
  9. References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com> <slrnet6bnr.t17.fdc@panix1.panix.com> <1171474573.115000.277200@v45g2000cwv.googlegroups.com> <slrnet95nd.1b6.fdc@panix2.panix.com> <1171585254.113397.40400@v33g2000cwv.googlegroups.com> <slrnetc6ch.8ae.fdc@panix1.panix.com> <1172066927.099583.146980@j27g2000cwj.googlegroups.com> <slrnetp1rf.1j0.fdc@panix1.panix.com> <1172090871.101683.127130@l53g2000cwa.googlegroups.com>
  10. Reply-To: fdc@columbia.edu
  11. NNTP-Posting-Host: panix3.panix.com
  12. X-Trace: reader2.panix.com 1172168712 18687 166.84.1.3 (22 Feb 2007 18:25:12 GMT)
  13. X-Complaints-To: abuse@panix.com
  14. NNTP-Posting-Date: Thu, 22 Feb 2007 18:25:12 +0000 (UTC)
  15. User-Agent: slrn/0.9.8.0 (NetBSD)
  16. Xref: panix comp.protocols.kermit.misc:15651
  17.  
  18. On 2007-02-21, Gary Quiring <gquiring@gmail.com> wrote:
  19. : I am 100% confused.  Are you saying it can't find my SSL include and
  20. : header files?  Because the errors says it can't parse the contents of
  21. : the file which means it is finding the stuff right?
  22. :
  23. It is finding SOME ssl header files and getting parse errors.  The only
  24. reasons I know of that this would happen are:
  25.  
  26.  1. The files are from OpenSSL 0.9.7 or later but you have not included
  27.     -DOPENSSL_097 in the compiler flags; or:
  28.  
  29.  2. The files are from OpenSSL 0.9.6 or earlier but you have included
  30.     the -DOPENSSL_097 flag.
  31.  
  32. : My SSL (0.9.8d) directory structure (/usr/local/ssl):
  33. :
  34. : bin
  35. : certs
  36. : include/openssl
  37. : lib
  38. : man
  39. : misc
  40. : private
  41. :
  42. So the question is, which SSL files is the makefile finding?  If indeed
  43. these files are where you say they are, and indeed they are the SSL version
  44. you say they are, and indeed you have included the -DOPENSSL_097 flag in
  45. the compilation, and indeed you have not pointed the makefile at some other
  46. SSL directory tree, it should work (but there will be a few unavoidable but
  47. harmless warnings in the security modules).
  48.  
  49. It should work because /usr/local/ is the makefile variable "sslroot"
  50. is defined by default as "/usr/local", which it uses unless you redefine
  51. sslroot, SSLINC, or SSLLIB.
  52.  
  53. If it doesn't work, then something is not as you described it.
  54.  
  55. We know that the makefile is finding *some* SSL header files, but cpp
  56. is having a problem with them.  What do you see when you do this:
  57.  
  58.   ce /usr/local/ssl/include/openssl
  59.   grep OPENSSL_VERSION_TEXT opensslv.h
  60.  
  61. What happens if you omit the -DOPENSSL_097 flag, but leave everything else the
  62. same?
  63.  
  64. Anyway, it will take some trial and error.  You have to make the compiler
  65. flags (presence or absence of -DOPENSSL_097) agree with the OpenSSL version of
  66. the header files that are actually being read by cpp.
  67.  
  68. - Frank